﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignPattern.FactoryPattern
{
    class Program
    {
        static void Main(string[] args)
        {
            var objA = CreateFactory.GetObject("a");
            objA.Show();
            var objB = CreateFactory.GetObject("b");
            objB.Show();
            Console.ReadKey();
        }
    }
}
